/*
 * Copyright (c) 2006, 2023, webrx.cn All rights reserved.
 *
 */

package cn.webrx;

import java.util.concurrent.TimeUnit;

/**
 * <p>Project: jse2303 - T5</p>
 * <p>Powered by webrx On 2023-07-26 16:59:07</p>
 * <p>描述：<p>
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class T6 {
    public static void main(String[] args) {
        //var t = new T6();
        //var th = new Thread(t::worker, "T01");
        //th.start();
        //
        //long hours = TimeUnit.DAYS.toHours(1);
        //System.out.println(hours);

        long days = TimeUnit.SECONDS.toDays(100000000);
        System.out.println(days);

    }

    void worker() {
        try {
            //Thread.sleep(5000);
            //TimeUnit.SECONDS.sleep(5);
        } catch (Exception e) {
            e.printStackTrace();
        }
        String t = Thread.currentThread().getName();
        System.out.println(t);

    }
}
